package com.zmc.admin.infrastructure.dao;

import com.zmc.admin.infrastructure.entity.SysPostEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 岗位信息表
 * 
 * @author zmc
 * @email 
 * @date 2024-10-09 17:27:49
 */
@Mapper
public interface SysPostDao extends BaseMapper<SysPostEntity> {

    List<SysPostEntity> selectPostsByUserName(String userName);

    List<Long> selectPostListByUserId(Long userId);

}
